home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Telnet 2.6.1d1 4⁄26⁄94 Folder / source / tek / rg0.c next >
Text File  |  1993-11-01  |  1KB  |  75 lines

  1. /*
  2.  
  3. rgnull.c by Aaron Contorer for NCSA
  4. Copyright 1987, board of trustees, University of Illinois
  5.  
  6. routines for "null" device -- calling these routines
  7.     has no effect, but they are compatible with all RG calls.
  8.  
  9. */
  10.  
  11. #ifdef MPW
  12. #pragma segment TEKNULL
  13. #endif
  14.  
  15. #include "rg0.proto.h"
  16.  
  17. void    TEKNULLunload(void){}
  18.  
  19. short    RG0newwin(void)
  20. {
  21.     return(0);
  22. }
  23.  
  24. char *RG0devname(void)
  25. {
  26.     return("Null device -- do not display output");
  27. }
  28.  
  29. void    RG0oneshort(short x)
  30. {
  31.     #pragma unused (x)
  32. }
  33.  
  34. void    RG0void(void)
  35. {}
  36.  
  37. short    RG0returnshort(short x)
  38. {
  39.     #pragma unused (x)
  40.     return 0;
  41. }
  42.  
  43. short    RG0pencolor(short w, short color)
  44. {
  45.     #pragma unused (w, color)
  46.     return 0;
  47. }
  48.  
  49. short    RG0point(short w, short x, short y)
  50. {
  51.     #pragma unused (w, x, y)
  52.     return 0;
  53. }
  54.  
  55. short    RG0drawline(short w, short a, short b, short c, short d)
  56. {
  57.     #pragma unused (w, a, b, c, d)
  58.     return 0;
  59. }
  60.  
  61. void    RG0dataline(short w, short data, short count)
  62. {
  63.     #pragma unused (w, data, count)
  64. }
  65.  
  66. void    RG0charmode(short w, short rotation, short size)
  67. {
  68.     #pragma unused (w, rotation, size)
  69. }
  70.  
  71. void    RG0info(short w, short a, short b, short c, short d, short v)
  72. {
  73.     #pragma unused (w, a, b, c, d, v)
  74. }
  75.